// +build wireinject

// The build tag makes sure the stub is not built in the final build.

package main

import (
	"github.com/go-kratos/kratos/v2"
	"github.com/go-kratos/kratos/v2/log"
	"github.com/google/wire"
	"go-admin/internal/admin/server"
	"go-admin/internal/admin/service"
)

// initApp init kratos application.
func initApp(logger log.Logger) *kratos.App {
	panic(wire.Build(service.ProviderSet, server.ProviderSet, newApp))
}
//protoc -I ./api --go_out ./api --go_opt=paths=source_relative --go-gin_out ./api --go-gin_opt=paths=source_relative api/product/app/v1/v1.proto
